<% layout("/common/layout.html",{"title":"工商申请列表"}){ %>
<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-sm-8">
        <h2>事项办理监察列表</h2>
        <ol class="breadcrumb">
            <li><a href="${ctxPath}/admin/main">主页</a></li>
            <li class="active">事项办理监察列表</li>
        </ol>
    </div>
    <div class="col-sm-4">
        <div class="title-action"></div>
    </div>
</div>
<div class="wrapper wrapper-content">
    <div class="row">
        <form id="searchForm">
            <div class="ibox-content m-b-sm border-bottom">
                <div class="row">
                    <div class="col-sm-3">
                        <div class="form-group">
                            <label class="control-label" for="searchValue">事项名称：</label>
                            <input type="text" class="form-control" id="searchValue" name="searchValue" placeholder="支持事项名称的模糊查询">
                        </div>
                    </div>

                    <div class="col-sm-3">
                        <div class="form-group">
                            <label class="control-label" for="searchValue">事项类型：</label>
                            <select name="itemType" id="itemType" class="form-control">
                                <option value="">请选择...</option>
                                <%
                                if(isNotEmpty(itemType)){
                                for(item in itemType){
                                %>
                                <option value="${item.key}">${item.value}</option>
                                <%
                                }
                                }
                                %>
                            </select>
                        </div>
                    </div>

                    <div class="col-sm-3">
                        <div class="form-group">
                            <label class="control-label" for="complete">事项状态：</label>
                            <select name="complete" id="complete" class="form-control">
                                <option value="">请选择...</option>
                                <option value="0">进行中</option>
                                <option value="1">已完成</option>
                            </select>
                        </div>
                    </div>

                    <div class="col-sm-2 pull-right">
                        <div class="form-group">
                            <label class="control-label" for="search">&nbsp;</label>
                                <button type="button" id="search" class="btn btn-block btn-primary "><i class="fa fa-search"></i>&nbsp;搜 索&nbsp;</button>
                        </div>
                    </div>
                </div>
            </div>
        </form>

        <!-- 表格-->
        <div class=" animated fadeInDown">
            <div class="mail-box">
                <div class="ibox-content">
                    <table id="dataList"></table>
                </div>
            </div>
        </div>
        <!-- 表格-->
    </div>
</div>
<% } %>
<script type="text/javascript">
    //页面JS调用
    require(['monitor/itemList'], function (itemList) {
        itemList.list();
    });
</script>